{% extends 'SSystemsRecipesBundle::layout.html.twig' %}

{% block body %}
	<table class="table table-bordered">
	  <thead>
        <tr>
          <th>Imagen</th>
          <th>Nombre</th>
          <th>Descripcion</th>
        </tr>
      </thead>
	  <tbody>
	  	{% for recipe in recipes %}
		    <tr>
		      <td><img src="{{ asset(recipe.image.WebPath) }}" width="100" height="100" class="img-polaroid"></td>
		      <td>{{ recipe.name }}</td>
		      <td>{{ recipe.description }}</td>
		    </tr>
	    {% endfor %}
	  </tbody>
	</table>
{% endblock %}
